package com.example.musicplayer.pojo;

import java.io.Serializable;

/**
 * @Author: liuzh0705
 * @Date:2021/07/27/下午5:48
 * @Description:
 */
public class Music implements Serializable {

    private String musicSinger; // 歌手

    private String musicName; // 歌曲名

    private String musicPath; // 歌曲路径

    private String musicTime; // 歌曲时长

    private long musicSize; // 歌曲文件大小

    public Music() {
    }

    public Music(String musicSinger, String musicName, String musicPath, String musicTime, long musicSize) {
        this.musicSinger = musicSinger;
        this.musicName = musicName;
        this.musicPath = musicPath;
        this.musicTime = musicTime;
        this.musicSize = musicSize;
    }

    public String getMusicSinger() {
        return musicSinger;
    }

    public void setMusicSinger(String musicSinger) {
        this.musicSinger = musicSinger;
    }

    public String getMusicName() {
        return musicName;
    }

    public void setMusicName(String musicName) {
        this.musicName = musicName;
    }

    public String getMusicPath() {
        return musicPath;
    }

    public void setMusicPath(String musicPath) {
        this.musicPath = musicPath;
    }

    public String getMusicTime() {
        return musicTime;
    }

    public void setMusicTime(String musicTime) {
        this.musicTime = musicTime;
    }

    public long getMusicSize() {
        return musicSize;
    }

    public void setMusicSize(long musicSize) {
        this.musicSize = musicSize;
    }

    @Override
    public String toString() {
        return "Music{" +
                "musicSinger='" + musicSinger + '\'' +
                ", musicName='" + musicName + '\'' +
                ", musicPath='" + musicPath + '\'' +
                ", musicTime='" + musicTime + '\'' +
                ", musicSize=" + musicSize +
                '}';
    }
}
